﻿using System.Collections.Generic;
using System.ComponentModel;
using Guan.CMS.Common.Models.Dto;

namespace Guan.CMS.Model.Dto
{
    public class ProductCategoryDto : CommonModelDto
    {
        /// <summary>
        /// 分类名称
        /// </summary>
        [DisplayName("名称")]
        public string Name { get; set; }

        /// <summary>
        /// 上级分类
        /// </summary>
        public int? ParentId { get; set; }

        public IEnumerable<ProductCategoryDto> ChildrenNodes { get; set; }
        //public ProductCategoryDto ParentNode { get; set; }
    }
}